import 'package:flutter/material.dart';

class LoginPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    Size size = MediaQuery.of(context).size;
    return Scaffold(
      body: Container(
        color: Colors.black12,
        child: Stack(
          children: [
            Image.asset("resources/images/cloud.jpg", width: size.width, height: size.height, fit: BoxFit.fill,),
            Positioned(
              top: size.height / 2 - 300,
              left: size.width / 2 - 250,
              child: Container(
                decoration: BoxDecoration(
                  color: Colors.white,
                  borderRadius: BorderRadius.all(Radius.circular(5))
                ),
                width: 500,
                height: 600,
              ),
            ),
            Positioned(
              top: size.height / 2 - 355,
              left: size.width / 2 - 75,
              child: ClipRRect(
                child: Image.asset("resources/images/gorun_logo.png", width: 150,),
              ),
            ),
            Positioned(
              top: size.height / 2 - 400,
              left: size.width / 2 - 240,
              child: Container(
                color: Colors.orangeAccent,
                width: 480,
                height: 500,
              ),
            )
          ],
        ),
      )
    );
  }
}
